package com.iisigroup.scan.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

public class commonUtils {
    private static ThreadLocal<SimpleDateFormat> sdfThreadLocal = new  ThreadLocal<SimpleDateFormat>(){

        @Override
        protected SimpleDateFormat initialValue() {
            final SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");
            return sdf;
        }
        
    };

    public static String getToday(){        
        return sdfThreadLocal.get().format(new Date());
    }

}
